package dao;

import org.apache.ibatis.annotations.Param;
import po.DyhNews;
import po.DyhNewsExample;

import java.util.List;

public interface DyhNewsMapper {
    int countByExample(DyhNewsExample example);

    int deleteByExample(DyhNewsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DyhNews record);

    int insertSelective(DyhNews record);

    List<DyhNews> selectByExampleWithBLOBs(DyhNewsExample example);

    List<DyhNews> selectByExample(DyhNewsExample example);

    DyhNews selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DyhNews record, @Param("example") DyhNewsExample example);

    int updateByExampleWithBLOBs(@Param("record") DyhNews record, @Param("example") DyhNewsExample example);

    int updateByExample(@Param("record") DyhNews record, @Param("example") DyhNewsExample example);

    int updateByPrimaryKeySelective(DyhNews record);

    int updateByPrimaryKeyWithBLOBs(DyhNews record);

    int updateByPrimaryKey(DyhNews record);
}